#ifndef DEPTH_BUFFER_H
#define DEPTH_BUFFER_H


#include "Include.h"

namespace devii
{

class DepthBuffer
{
public:
	DepthBuffer(const unsigned int width, const unsigned int height);
	~DepthBuffer();

	void setDepthBuffer(ID3D11DepthStencilView * const depth_buffer);
	ID3D11DepthStencilView * getDepthBuffer();

	void setShaderResource(ID3D11ShaderResourceView * shader_resource);
	ID3D11ShaderResourceView * getShaderResource();
private:
	ID3D11DepthStencilView * depth_buffer;
	ID3D11ShaderResourceView * shader_resource;

	unsigned int width;
	unsigned int height;
};

}
#endif